package cn.baiy;

import javax.swing.*;

//侦察潜艇类
public class ObserveSubmarine extends SeaObject implements EnemyScore {  //继承

    public ObserveSubmarine() {
        super(63, 19);
    }

    @Override
    public void move() {
        x += speed;//向右移动
    }

    @Override
    public ImageIcon getImage() {///////
        return Images.obsersubm;
    }

    public int getScore() { //得分
        return 10;//10分
    }

}
